<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户新增</title>
    <link rel="stylesheet" href="../../css/back/userAdd.css">
    <script src="../../js/jquery.js"></script>
    <script src="../../js/back/userAdd.js"></script>
</head>
<body>
<div class="userAdd">
    <div>
            <div>
                <div>用户名：</div>
                <input type="text" id="username" name="username" pattern="^[a-zA-Z]\w{5,15}$">
            </div>
            <div>
                <div>密码：</div>
                <input type="password" id="password" name="password" pattern="^[a-zA-Z]\w{5,15}$"></div>
            <div>
                <div>确认密码：</div>
                <input type="password" id="rePassword" name="rePassword" pattern="^[a-zA-Z]\w{5,15}$" onblur="judge()">
                <span id="warning"></span>
            </div>
            <div>
                <div>手机号：</div>
                <input type="text" id="phone" name="phone"
                       pattern="^1([38][0-9]|4[5-9]|5[0-3,5-9]|66|7[0-8]|9[89])[0-9]{8}$">
            </div>
            <div>
                <div>性别：</div>
                <label> <input type="radio" name="sex" value="保密">保密</label>
                <label> <input type="radio" name="sex" value="男">男</label>
                <label> <input type="radio" name="sex" value="女">女</label>
            </div>
            <div>
                <div>生日：</div>
                <input type="date" id="birthday" name="birthday">
            </div>
            <div>
                <div>爱好：</div>
                <label><input type="checkbox" name="hobby" value="听歌">听歌</label>
                <label><input type="checkbox" name="hobby" value="游泳">游泳</label>
                <label><input type="checkbox" name="hobby" value="跑步">跑步</label>
                <label><input type="checkbox" name="hobby" value="打球">打球</label>
                <label><input type="checkbox" name="hobby" value="编程">编程</label>
            </div>
            <div>
                <div>个人介绍：</div>
                <textarea id="introduce" name="introduce"></textarea></div>
            <div class="submit">
                <input type="button" value="注册" onclick="addInformation()">
                <input type="reset" value="清空">
            </div>
    </div>
</div>
</body>
</html>